package mest.entity;
        import java.io.Serializable;
        import java.util.Date;

        import com.alibaba.fastjson.annotation.JSONField;
        import com.fasterxml.jackson.annotation.JsonFormat;
        import lombok.AllArgsConstructor;
        import lombok.Builder;
        import lombok.Data;
        import lombok.NoArgsConstructor;
        import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class employee_file implements Serializable {

        /**
         * 主键
         */
        private Integer id;

        /**
         * 员工编码
         */
        private String employeeNumber;

        /**
         * 员工名称
         */
        private String employeeName;

        /**
         * 员工手机号码
         */
        private String employeePhone;

        /**
         * 员工入职日期
         */
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        @JSONField(format = "yyyy-MM-dd")
        private Date employeeDate;
        /**
         * 所属部门档案的id
         */
        private Integer afId;

        /**
         * 假删字段，默认为0,删除时为1
         */
        private Integer isDelete;

        private static final long serialVersionUID = 1L;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getEmployeeNumber() {
			return employeeNumber;
		}

		public void setEmployeeNumber(String employeeNumber) {
			this.employeeNumber = employeeNumber;
		}

		public String getEmployeeName() {
			return employeeName;
		}

		public void setEmployeeName(String employeeName) {
			this.employeeName = employeeName;
		}

		public String getEmployeePhone() {
			return employeePhone;
		}

		public void setEmployeePhone(String employeePhone) {
			this.employeePhone = employeePhone;
		}

		public Date getEmployeeDate() {
			return employeeDate;
		}

		public void setEmployeeDate(Date employeeDate) {
			this.employeeDate = employeeDate;
		}

		public Integer getAfId() {
			return afId;
		}

		public void setAfId(Integer afId) {
			this.afId = afId;
		}

		public Integer getIsDelete() {
			return isDelete;
		}

		public void setIsDelete(Integer isDelete) {
			this.isDelete = isDelete;
		}

		@Override
		public String toString() {
			return "employee_file [id=" + id + ", employeeNumber=" + employeeNumber + ", employeeName=" + employeeName
					+ ", employeePhone=" + employeePhone + ", employeeDate=" + employeeDate + ", afId=" + afId
					+ ", isDelete=" + isDelete + "]";
		}


}